﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class layoutMap : MonoBehaviour {
public GameObject Father ;
 public  GameObject tile ;
	// Use this for initialization
	int[,] maps1 = {
					{0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0},
				    {0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0},
					{0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0},
					{0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0},
					{0,0,1,0,0,0,0,0,1,0,0,0,1,0,0,0,0},
					{0,0,1,0,1,0,0,0,1,0,1,0,1,0,0,0,0},
					{0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0},
					{0,0,1,0,1,0,0,0,1,0,1,0,1,0,0,0,0},
					{0,0,1,0,0,0,0,0,1,0,0,0,1,0,0,0,0},
					{0,0,1,0,0,0,1,1,1,0,0,1,1,1,1,1,0},
					{1,1,1,0,0,0,1,0,1,0,0,0,1,0,0,0,0},
					{0,0,0,0,0,0,0,0,1,0,0,1,1,1,1,1,0},
					{0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0},
					{0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0},
				};
					int[,] maps2 = {
					{0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0}, 
					{0,0,0,0,0,1,0,0,1,1,1,0,0,0,1,0,0}, 
					{0,0,0,0,0,1,1,1,1,0,0,0,0,0,1,0,0}, 
					{0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0}, 
					{0,0,0,0,0,0,1,1,0,0,0,0,0,0,1,0,0}, 
					{0,0,0,0,0,1,1,0,0,0,0,0,0,0,1,0,0}, 
					{0,0,1,1,1,1,0,0,0,0,0,0,0,0,1,0,0}, 
					{1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,0,0}, 
					};

						int[,] maps3 = {
					{0,0,0,0,1,1,1,0,0,1,1,1,0,0,0,0,0}, 
					{0,1,1,1,1,0,1,1,1,1,0,1,0,0,1,1,1}, 
					{0,1,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0}, 
					{0,1,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0}, 
					{0,1,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0}, 
					{1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{1,0,0,1,0,1,1,1,1,1,1,1,1,1,1,0,0}, 
					{1,1,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0}, 
					{0,1,0,1,0,0,0,0,1,0,0,0,0,0,1,0,0}, 
					{0,1,0,0,1,1,1,1,1,0,0,0,1,1,1,0,0}, 
					{0,1,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1}, 
					{1,1,1,1,1,0,0,0,1,1,1,1,0,0,0,0,1}, 
					{1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0}, 
					{1,1,0,0,1,0,0,0,1,1,1,1,0,0,0,0,0}, 
					{0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0}, 
					{0,1,1,1,1,0,0,0,0,0,1,1,1,1,0,0,0}, 
					{0,1,0,0,0,0,0,0,0,1,1,0,0,1,0,0,0}, 
					{0,1,1,0,0,0,0,0,0,1,0,0,0,1,1,1,0}, 
					{0,0,1,0,0,0,1,1,1,1,0,0,0,0,0,1,0}, 
					{1,1,1,1,1,1,1,0,0,1,1,0,0,1,1,1,0}, 
					{1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0}, 
					{1,0,0,0,0,0,1,1,0,0,0,0,0,1,1,1,1}, 
				};

					int[,] maps4 = {
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1}, 
					{0,0,0,0,0,1,1,1,1,0,0,0,0,1,0,0,1}, 
					{0,0,0,0,0,1,0,0,1,0,0,0,1,1,0,0,1}, 
					{0,1,1,1,1,1,0,0,1,0,0,0,0,1,0,0,1}, 
					{0,1,0,0,0,0,0,0,1,0,0,0,0,1,0,0,1}, 
					{0,1,0,0,0,0,0,0,1,0,0,0,0,1,0,0,1}, 
					{0,1,1,1,0,0,0,0,1,1,1,1,1,1,0,0,1}, 
					{0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,1}, 
					{0,0,0,1,1,1,0,0,0,1,1,0,0,0,0,1,1}, 
					{0,0,0,0,0,1,0,0,0,0,1,1,0,0,1,1,0}, 
					{0,0,0,0,0,1,1,1,1,0,0,1,1,1,1,1,0}, 
					{0,0,0,0,0,1,0,0,1,1,1,1,0,0,0,0,0}, 
					{0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,1,0,0,0,1,1,1,1,1,1}, 
					{0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,1}, 
					{0,0,0,0,1,1,1,0,0,1,1,1,1,1,1,0,1}, 
					{0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,1}, 
					{0,0,0,0,1,1,0,0,1,1,0,1,1,1,1,1,1}, 
					{0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0}, 
					{0,0,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0}, 
					{1,1,1,0,0,1,1,1,0,0,0,0,0,0,0,0,0}, 

					};


						int[,] maps5 = {
					{0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0}, 
					{1,1,0,0,0,0,0,0,0,1,0,1,0,0,1,0,1}, 
					{0,1,1,1,0,0,0,1,1,1,0,1,1,0,1,1,1}, 
					{0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0}, 
					{0,0,1,1,1,0,0,1,0,0,0,0,1,1,1,1,0}, 
					{0,0,1,0,1,1,1,1,1,0,0,0,1,0,0,1,0}, 
					{0,0,1,1,0,0,0,0,1,0,0,0,1,0,0,1,0}, 
					{0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0}, 
					{0,0,0,0,0,1,1,1,1,0,0,0,1,0,0,0,0}, 
					{0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0}, 
					{0,0,0,1,1,1,0,0,0,0,0,0,1,1,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0}, 
					{0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0}, 
					{0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0}, 
					{0,0,1,1,1,0,0,0,0,0,1,1,0,0,0,0,0}, 
					{0,0,1,0,1,0,0,0,0,1,1,0,0,0,0,0,0}, 
					{1,1,1,0,1,1,1,1,1,1,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0}, 
					{0,0,1,1,0,1,0,1,1,0,1,1,1,1,0,0,0}, 
					{0,0,0,1,1,1,0,0,0,0,1,0,0,1,0,0,0}, 
					{0,0,0,0,0,1,0,0,0,1,1,0,0,1,0,0,0}, 
					{0,0,0,0,0,1,0,0,0,1,0,0,0,1,1,0,0}, 
					{0,0,0,0,0,1,1,1,0,1,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0}, 
					{0,0,0,0,1,1,1,1,0,0,1,1,1,0,0,0,0}, 
					{0,0,0,0,0,1,0,1,1,0,0,0,1,0,0,0,0}, 
					{0,0,1,1,1,1,0,0,1,0,0,0,1,1,1,0,0}, 
					{0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,1,0}, 
					{0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1}, 
					{1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1}, 

					};
		int[,] maps6 = {
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,1,1,1,0,1,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0}, 
					{0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0}, 
					{0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0}, 
					{0,0,1,0,1,1,1,1,1,1,1,0,1,0,0,0,0}, 
					{0,0,1,0,1,0,0,0,0,0,1,0,1,0,0,0,0}, 
					{0,0,1,0,1,0,1,1,1,0,1,0,1,0,0,0,0}, 
					{0,0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,0}, 
					{0,0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,0}, 
					{0,0,1,0,1,0,1,0,0,0,1,0,1,0,0,0,0}, 
					{0,0,1,0,1,0,1,1,1,1,1,0,1,0,0,0,0}, 
					{0,0,1,0,1,0,0,0,0,0,0,0,1,0,0,0,0}, 
					{0,0,1,0,1,1,1,1,1,1,1,1,1,0,1,0,0}, 
					{0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0}, 
					{0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0}, 
					{0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0}, 
					{0,0,0,0,0,1,0,0,0,1,1,1,1,1,0,0,0}, 
					{0,0,1,1,1,1,0,0,0,1,0,0,0,0,0,0,0}, 
					{0,0,1,0,0,0,0,0,0,1,0,1,0,0,0,0,0}, 
					{0,0,1,0,0,0,0,0,0,1,0,1,0,0,0,0,0}, 
					{0,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0,0}, 
					{0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0}, 

					};


	int[,] maps7= {
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 

					};

	int[,] maps8= {
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0}, 
					{0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0}, 
					{0,1,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0}, 
					{0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0}, 
					{0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0}, 
					{0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0}, 
					{0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0}, 
					{0,0,0,1,1,1,1,1,0,0,0,0,0,1,0,0,0}, 
					{0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0}, 
					{0,0,0,0,0,1,1,1,1,1,1,1,1,1,0,0,0}, 
					{0,0,0,0,0,0,0,0,1,0,1,0,0,1,0,0,0}, 
					{0,0,0,0,0,0,0,0,1,0,1,0,0,1,0,0,0}, 
					{0,0,0,0,0,0,0,0,1,0,1,0,0,1,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 

					};



	int[,] maps9= {
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,1,0,0,0,0,1,1,1,0,0}, 
					{0,0,0,0,0,1,1,1,0,0,0,0,1,0,0,0,0}, 
					{0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0}, 
					{0,0,0,0,0,1,0,0,0,0,1,1,1,0,0,0,0}, 
					{0,0,0,1,1,1,0,0,0,0,1,0,0,0,0,0,0}, 
					{0,1,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0}, 
					{0,0,0,1,1,0,0,0,1,1,1,1,0,0,0,0,0}, 
					{0,0,0,0,1,1,1,0,0,0,0,1,0,0,0,0,0}, 
					{0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0}, 
					{0,1,1,1,0,0,1,0,0,0,0,1,0,0,1,1,0}, 
					{0,0,0,1,0,0,1,0,0,0,1,1,1,1,1,0,0}, 
					{0,0,0,1,0,0,1,0,0,0,1,0,0,0,0,0,0}, 
					{0,0,0,1,1,1,1,1,0,1,1,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,1,1,1,0,0,1,1,1,0,0}, 
					{0,0,1,1,1,0,0,1,0,0,0,1,1,0,0,0,0}, 
					{0,0,0,0,1,0,0,1,0,0,1,1,0,0,1,1,0}, 
					{0,0,0,0,1,0,0,1,0,0,1,0,0,1,1,0,0}, 
					{0,0,0,0,1,1,1,1,1,0,1,0,1,1,0,0,0},
					{0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0}, 

					};





	int[,] maps10= {
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 
					{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 

					};
	void Start () { 
		int[,] maps =  maps9;
			for(int i=0;i<maps.GetLength(0);i++) {
					for(int j=0;j< maps.GetLength(1);j++) {
							if (maps[i,j]==1 ) {
								GameObject o = Instantiate(tile,new Vector3(i*1,0, j*1), Quaternion.identity);
								o.transform.SetParent(Father.transform);
							}

					}
			}
	}
	
	// Update is called once per frame
	void Update () {
		
	}
}
